<%@page import="net.uman.util.Constants"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page 
  import = "net.uman.framework.modules.security.springsecurity.SpringSecurityUtils"
  import = "net.uman.entity.User"
  import = "net.uman.framework.modules.utils.PropertyUtils"
  import = "java.util.Properties"
%>
﻿
<%
  User user = SpringSecurityUtils.getCurrentUser();
  if(user==null) {
  	response.sendRedirect("login.action");
  }
  else {
	  if(user.getType().equals(Constants.USER_TYPE_USER) ){
		  response.sendRedirect("login.action");
	  }else {
		  response.sendRedirect("manager/account.action");
	  }
	
  }
%>
